﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MuaChung.Models.SendQuestionModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	SendQuestion
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">    
    <script type="text/javascript" src="/Scripts/HtmlBox_4.0/htmlbox.min.js"></script>        
    <h2>Hỗ trợ</h2>
    <div id="Message">
        <%: new HtmlString(ViewData["Message"].ToString()) %>
    </div>
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Câu hỏi cần trợ giúp</legend>
            
            <div class="editor-label">
                Email người gửi:
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.emailSender) %>
                <%: Html.ValidationMessageFor(model => model.emailSender) %>
            </div>
            
            <div class="editor-label">
                Nội dung câu hỏi:
            </div>
            <form id="Form1" runat=server>
            <CKEditor:CKEditorControl ID="Question" UIColor="Green" name="Answer" runat="server"></CKEditor:CKEditorControl>
            </form> 
            
            <p>
                <input type="submit" value="Gửi" />
            </p>
        </fieldset>

    <% } %>
    <p>
        <a href="/" title="Trở lại trang chủ">Trở lại trang chủ</a>
    </p>    

</asp:Content>

